home *** CD-ROM | disk | FTP | other *** search
- Path: idefix.CS.kuleuven.ac.be!geert
- From: geert@cs.KULeuven.ac.be (Geert Uytterhoeven)
- Newsgroups: comp.unix.amiga
- Subject: Re: Compiling X Programs Under Amiga Linux?
- Date: 24 Jan 1996 12:01:36 GMT
- Organization: Department of Computer Science, Katholieke Universiteit Leuven, Belgium
- Sender: geert@idefix (Geert Uytterhoeven)
- Distribution: world
- Message-ID: <4e5730$bf3@idefix.CS.kuleuven.ac.be>
- References: <4dvqi0$4r2i@news-s01.ny.us.ibm.net> <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE> <4e547j$1jsk@news-s01.ny.us.ibm.net>
- NNTP-Posting-Host: idefix.cs.kuleuven.ac.be
- Keywords: X, libraries, Amiga, Linux
-
- In article <4e547j$1jsk@news-s01.ny.us.ibm.net>, fheitka@ibm.net (Frederick V. Heitkamp) writes:
- |> In article <4e0ihk$10h@news.Informatik.Uni-Oldenburg.DE>,
- |> Frank.Neumann@Informatik.Uni-Oldenburg.DE says...
- |> >
- |> >Hi,
- |> >heitkamp@ibm.net (Frederick V. Heitkamp) writes:
- |> >
- |> >>I tried to compile a couple of short demo programs for X under
- |> >>Amiga Linux. I appears that I have no libX11.a, LibXt.a etc..
- |> >
- |> >Are you sure you really need the static (.a) libraries? All X11R6
- |> >distributions so far only come with shared libraries (at least for the
- |>
- |> OK. Let me tell you the whole story. I have the X shared libraries
- |> in /usr/X11R6/lib. When I try to compile the demo X program using,
- |> "gcc -o Xdemo Xdemo.c -L/usr/X11R6/lib -I/usr/X11R6/include -lX11"
- |> I get an error message saying it can't find libX11, even though the
- |> shared (sa) library is there. I thought I read some where that you need
- |> the lib*.a, lib*.sa, and lib*so, so I thought the lib*.a file being
- |> missing might cause the problem. I guess for ELF, one of those library
- |> types is not needed. I thought it was the lib*.sa. At least,
- |> this is the way my Linux PC is set up.
-
- Try to create soft links from /usr/X11R6/lib/lib*.so to the
- /usr/X11R6/lib/lib*.so.6.0 libraries, e.g.
-
- cd /usr/X11R6/lib
- ln -s libX11.so.6.0 libX11.so
-
- and so on...
-
- Greetings,
-
- Geert
-
- --
- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be
- Wavelets, Linux/m68k on Amiga http://www.cs.kuleuven.ac.be/~geert/
- Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium
-